package x.ovo.wechat.bot.common.entity;

import lombok.Data;
import x.ovo.wechat.bot.common.enums.SyncCheckRetCode;
import x.ovo.wechat.bot.common.enums.SyncCheckSelector;

import java.io.Serializable;

@Data
public class SyncCheckResult implements Serializable {

    private SyncCheckRetCode retCode;
    private SyncCheckSelector retSelector;

    public SyncCheckResult(Integer retCode, Integer retSelector) {
        this.retCode = SyncCheckRetCode.get(retCode);
        this.retSelector = SyncCheckSelector.get(retSelector);
    }

}
